# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         hw02
# Description:
# Author:       98745
# Date:         2019/4/4
#-------------------------------------------------------------------------------
import re
n=input('请输入信用卡号：')
s='\d{4}( )+(\d){4}( )+(\d){4}( )+(\d){4}'
m=re.search(s,n)
if m is not None:
    print('{}匹配成功'.format(m.group()))
else:
    print('{}不匹配'.format(n))